package com.yl.danmo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.common.core.annotation.Excel;
import com.yl.common.core.web.domain.BaseEntity;

/**
 * 会员信息 国家级对象 danmo_information_guo
 * 
 * @author yangle
 * @date 2025-03-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

public class DanmoInformationGuo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 个人信息id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 协会选择 */
    @Excel(name = "协会选择")
    private Long association;

    /** 艺术家类型 */
    @Excel(name = "艺术家类型")
    private Long associationType;

    /** 证书 */
    @Excel(name = "证书")
    private String certificate;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNumber;

    /** 第几届 */
    @Excel(name = "第几届")
    private Long several;

    /** 状态（0 添加草稿 1 未审核 2 审核中 3 已审核） */
    @Excel(name = "状态", readConverterExp = "0=,添=加草稿,1=,未=审核,2=,审=核中,3=,已=审核")
    private Long condition;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 入会省 */
    @Excel(name = "入会省")
    private String addressEntry;

    /** 入会市 */
    @Excel(name = "入会市")
    private String addressCity;

    /** 入会县 */
    @Excel(name = "入会县")
    private String addressCounty;

    /** 职位（1 会员 2 理事 ） */
    @Excel(name = "职位", readConverterExp = "1=,会=员,2=,理=事")
    private Long positions;

    /** 朝代 */
    @Excel(name = "朝代")
    private Long dynastiesId;

    /** 小团体 */
    @Excel(name = "小团体")
    private Long massId;

    /** 身份证正面 */
    @Excel(name = "身份证正面")
    private String idFront;

    /** 身份证反面 */
    @Excel(name = "身份证反面")
    private String idReverse;

    /** 基本信息id */
    @Excel(name = "基本信息id")
    private Long basicId;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 实名（0 未实名 1 已实名） */
    @Excel(name = "实名", readConverterExp = "0=,未=实名,1=,已=实名")
    private Long realName;


    private Long originalId;
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("association", getAssociation())
            .append("associationType", getAssociationType())
            .append("certificate", getCertificate())
            .append("certificateNumber", getCertificateNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("several", getSeveral())
            .append("condition", getCondition())
            .append("year", getYear())
            .append("addressEntry", getAddressEntry())
            .append("addressCity", getAddressCity())
            .append("addressCounty", getAddressCounty())
            .append("positions", getPositions())
            .append("dynastiesId", getDynastiesId())
            .append("massId", getMassId())
            .append("idFront", getIdFront())
            .append("idReverse", getIdReverse())
            .append("basicId", getBasicId())
            .append("idCard", getIdCard())
            .append("realName", getRealName())
            .toString();
    }
}
